﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoardBroker
{
    /// <summary>
    /// 设备控制窗口信息，用于系统内搜索相关进程
    /// </summary>
    public class DeviceControlWindowInfo
    {
        /// <summary>
        /// 窗口标题信息
        /// </summary>
        public string WindowTitle { get; set; } // "设备灯光控制";

        /// <summary>
        /// 窗口类名
        /// </summary>
        public string ClassName { get; set; } // "LedDemo.FormLedControl";

        /// <summary>
        /// 窗口所在的应用程序名称
        /// </summary>
        public string AppName { get; set; } //= "LedDemo.exe";

        /// <summary>
        /// 应用程序所在的相对目录位置（相对于主程序根目录）
        /// </summary>
        public string Directory { get; set; } //= "LedControl";

        public DeviceControlWindowInfo()
        {

        }

        public DeviceControlWindowInfo(string windowTitle, string className, string appName, string directory)
        {
            WindowTitle = windowTitle;
            ClassName = className;
            AppName = appName;
            Directory = directory;
        }
    }
}
